/* 导入自定义组件 */
import PageTools from '@/components/PageTools'
import UploadExcel from '@/components/UploadExcel'
import ImageUpload from './ImageUpload'
import Print from 'vue-print-nb'
import ScreenFull from './ScreenFull'
import ThemePicker from './ThemePicker'
import Lang from './lang'
import TagsView from './TagsView'
export default {
  install(Vue) {
    /* 注册全局组件 */
    Vue.component('PageTools', PageTools)
    Vue.component('UploadExcel', UploadExcel)
    Vue.component('ImageUpload', ImageUpload)
    Vue.component('ScreenFull', ScreenFull) // 注册全屏组件
    Vue.component('ThemePicker', ThemePicker) // 更换颜色
    Vue.component('Lang', Lang) // 更换中英
    Vue.component('TagsView', TagsView) // 多页栏

    Vue.use(Print)
  }
}
